<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>randoop.contract (randoop 4.1.0 API)</title>

<link rel="stylesheet" type="text/css" href="../../javadocstyle.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="randoop.contract (randoop 4.1.0 API)";
        }
    }
    catch(err) {
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/condition/specification/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../randoop/execution/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/contract/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package&nbsp;randoop.contract</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/CheckRepContract.html" title="class in randoop.contract">CheckRepContract</a></td>
<td class="colLast">
<div class="block">Represents the contract that an object must conform to its representation invariant, as expressed
 in a user-supplied representation check method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToAntiSymmetric.html" title="class in randoop.contract">CompareToAntiSymmetric</a></td>
<td class="colLast">
<div class="block">The contract: Checks that an object is antisymmetric over compareTo.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToEquals.html" title="class in randoop.contract">CompareToEquals</a></td>
<td class="colLast">
<div class="block">The contract: Checks that compareTo is consistent with equals.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToReflexive.html" title="class in randoop.contract">CompareToReflexive</a></td>
<td class="colLast">
<div class="block">The contract: Checks that an object is reflexive over compareTo.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToReturnsNormally.html" title="class in randoop.contract">CompareToReturnsNormally</a></td>
<td class="colLast">
<div class="block">Checks that calling compareTo() on an object does not throw an exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToSubs.html" title="class in randoop.contract">CompareToSubs</a></td>
<td class="colLast">
<div class="block">The contract: Checks the substitutability property of compareTo for equals.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/CompareToTransitive.html" title="class in randoop.contract">CompareToTransitive</a></td>
<td class="colLast">
<div class="block">The contract: Checks the transitivity of the compare to method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/EnumValue.html" title="class in randoop.contract">EnumValue</a></td>
<td class="colLast">
<div class="block">A check for a particular value of an <code>Enum</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsHashcode.html" title="class in randoop.contract">EqualsHashcode</a></td>
<td class="colLast">
<div class="block">The contract: <code>o1.equals(o2) ==&gt; o1.hashCode() == o2.hashCode()</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsReflexive.html" title="class in randoop.contract">EqualsReflexive</a></td>
<td class="colLast">
<div class="block">The contract: <code>x0.equals(x0)==true</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsReturnsNormally.html" title="class in randoop.contract">EqualsReturnsNormally</a></td>
<td class="colLast">
<div class="block">Checks that calling equals() on an object does not throw an exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsSymmetric.html" title="class in randoop.contract">EqualsSymmetric</a></td>
<td class="colLast">
<div class="block">The contract: <code>o1.equals(o2) ==&gt; o2.equals(o1)</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsToNullRetFalse.html" title="class in randoop.contract">EqualsToNullRetFalse</a></td>
<td class="colLast">
<div class="block">The contract: <code>x0.equals(null)==false</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/EqualsTransitive.html" title="class in randoop.contract">EqualsTransitive</a></td>
<td class="colLast">
<div class="block">The contract: Checks the transitivity of equals for an object <code>(x0.equals(x1) &amp;&amp;
 x1.equals(x2)) ==&gt; x0.equals(x2)</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/HashCodeReturnsNormally.html" title="class in randoop.contract">HashCodeReturnsNormally</a></td>
<td class="colLast">
<div class="block">Checks that calling hashCode() on an object does not throw an exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/IsNotNull.html" title="class in randoop.contract">IsNotNull</a></td>
<td class="colLast">
<div class="block">The contract: <code>x != null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/IsNull.html" title="class in randoop.contract">IsNull</a></td>
<td class="colLast">
<div class="block">The contract: <code>x == null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/ObjectContract.html" title="class in randoop.contract">ObjectContract</a></td>
<td class="colLast">
<div class="block">An object contract represents a property that must hold of any object of a given class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/ObjectContractUtils.html" title="class in randoop.contract">ObjectContractUtils</a></td>
<td class="colLast">
<div class="block">Utility methods for safely executing and printing <a href="../../randoop/contract/ObjectContract.html" title="class in randoop.contract"><code>ObjectContract</code></a> code.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/ObserverEqValue.html" title="class in randoop.contract">ObserverEqValue</a></td>
<td class="colLast">
<div class="block">A check recording the value that an observer method returned during execution, e.g.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/PrimValue.html" title="class in randoop.contract">PrimValue</a></td>
<td class="colLast">
<div class="block">A check recording the value of a primitive value obtained during execution, (e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../randoop/contract/SizeToArrayLength.html" title="class in randoop.contract">SizeToArrayLength</a></td>
<td class="colLast">
<div class="block">The contract: <code>c.toArray().length == c.size()</code> for all Collections c.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/ToStringReturnsNormally.html" title="class in randoop.contract">ToStringReturnsNormally</a></td>
<td class="colLast">
<div class="block">Checks that calling toString() on an object does not throw an exception.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../randoop/contract/PrimValue.PrintMode.html" title="enum in randoop.contract">PrimValue.PrintMode</a></td>
<td class="colLast">
<div class="block">Specifies how the contract is to be printed.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/condition/specification/package-summary.html">Prev&nbsp;Package</a></li>
<li><a href="../../randoop/execution/package-summary.html">Next&nbsp;Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/contract/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
